﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="View.aspx.cs" Inherits="HQWeb.View.View" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Flare Video</title>
    <script type="text/javascript" src="../Scripts/Cookie.js"></script>
    <!-- First, add jQuery (and jQuery UI if using custom easing or animation -->
    <script type="text/javascript" src="../Scripts/jquery-1.7.2.js"></script>
    <!-- Second, add the Timer and Easing plugins -->
    <script type="text/javascript" src="../Progect/PhotoManage/js/jquery.timers-1.2.js"></script>
    <script type="text/javascript" src="../Progect/PhotoManage/js/jquery.easing.1.3.js"></script>
    <!-- Third, add the GalleryView Javascript and CSS files -->
    <script type="text/javascript" src="../Progect/PhotoManage/js/jquery.galleryview-3.0-dev.js"></script>
    <script type="text/javascript" src="../Progect/PhotoManage/js/LoadImage.js"></script>
    <link type="text/css" rel="stylesheet" href="../Progect/PhotoManage/css/jquery.galleryview-3.0-dev.css" />
    <script type="text/javascript" src="../Progect/PhotoManage/308/jquery.insetBorderEffect.js"></script>
  <%--  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>--%>
    <script type="text/javascript" language="javascript">
//        $(function () {
//            var width = document.body.offsetWidth - 200;
//            $('#myGallery').galleryView({ panel_width: width, panel_height: 500 });
//            $("#canvas").css("margin-left", 100);
//            $("#canvas").css("margin-right", 100);
        //        });
//        $(document).ready(function () {
//            $(".classimage").insetBorder();
        //        });
        function gg() {
            $(".classimage").each(function () { $(this).insetBorder(); });
        }
        function Create() {
            setCookie("shopcar", "4b179b57-dc1f-4911-8ea1-dba67f0cff69,", 1, "/");
            //   SetCookie("txt","321");
        }
        function Edit() {
            setCookie("shopcar", "88e2,", 1, "/");
        }
        function show() {
            alert(getCookieValue("shopcar"));
        }
        function Del() {
            deleteCookie("shopcar", "/");
        }
        function tr() {
            var varArry = "vb.net,iis6.0,asp.net,".split(",");
            for (var i = 0; i < varArry.length; i++) {
                alert(varArry[i]);
            }
        }
        function getFile() {
        }
        //缩放功能
        function expandcollapse(obj, row) {
            var div = document.getElementById(obj);
            var img = document.getElementById(row);

            if (div.style.display == "none") {
                div.style.display = "";
                if (img != null) {
                    img.src = "../../Images/more.gif";
                    img.alt = "关闭显示";
                }

            }
            else {
                div.style.display = "none";
                if (img != null) {
                    img.src = "../../Images/more.gif";
                    img.alt = "显示下级菜单";
                }
            }
        }
        function CheckMessage(obj) {
            var varId = obj.id;
            var varValue = obj.value;
            var reDouble = /^(-|\+)?\d+\.?\d*$/;   //验证是否输入正确
            varValue = varValue.replace(/\s+/g, "");
            if (varValue != "") {
                if (!reDouble.test(varValue)) {
                    alert("必需为数值！");
                    obj.value = "";
                    return false;
                }
                var textRealTotal = document.getElementById("textRealTotal").value.replace(/\s+/g, "");
                var txtDinJin = document.getElementById("txtDinJin").value.replace(/\s+/g, "");
                var txtUnpaid = document.getElementById("txtUnpaid").value.replace(/\s+/g, "");
                if (textRealTotal != "") {
                    if (txtDinJin == "") {
                        document.getElementById("txtUnpaid").value = textRealTotal;
                    } else {
                        document.getElementById("txtUnpaid").value = parseFloat(textRealTotal) - parseFloat(txtDinJin);
                    }
                }
            }
        }
        function GetEditOrder() {
            var url = "Order/OrderSelectList.aspx";
            var feature = "dialogWidth:600px;dialogHeight:900px;center:yes;help:no;resizable:yes;status:no;";
            var returnValue = window.showModalDialog(url, "", feature);
            // alert(returnValue);
            if (!returnValue) {

                document.getElementById("hidOrderID").value = window.ReturnValue;
                // alert(document.getElementById("GetOrder"));
                document.getElementById("GetOrder").click();
            }
        }
        function FillStyle() {
            var styles = document.getElementById("hidStytle").value;
            var strArry = new Array();
            for (var i = 0; i < strArry.length; i++) {
                var varCheckBox = document.getElementById(strArry[1]);
                if (varCheckBox != undefined) {
                    varCheckBox.checked = true;
                }
            }
        }
        function GetStyle() {
            var tempValue;
            var checkValue = document.getElementsByName("checkBoxName");
            if (checkValue.length > 1) {
                if (checkValue[i].checked) {
                    tempValue = tempValue + checkValue[i].value + ",";
                }
            }
            document.getElementById("hidStytle").value = tempValue;
            return true;
        }
    </script>
    <style type="text/css">
        .photoview
        {
            position: relative;
            top: auto;
        }
        .Txt
        {
            border-left: 0px;
            border-right: 0px;
            border-top: 0px;
        }
        table td
        {
            border-left: 0px;
            border-right: 0px;
            padding-top: 3px;
            padding-bottom: 2px;
        }
        table tr
        {
            border: 1px solid #C1DAD7;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="photoview">
        <div id="canvas">
            <br />
            <ul id="myGallery">
                <li>
                    <img src="ftp://192.168.1.110/Public/Image/IMG_7870.JPG" alt="" /></li>
                <li>
                    <img src="ftp://192.168.1.110/Public/Image/fc3acaa2-233b-46df-844f-11f861db513d.jpg"
                        alt="" /></li>
            </ul>
        </div>
        <div>
            <ul>
                <li>
                    <input id="chek1" type="checkbox" value="舞台背景" />舞台背景 </li>
                <li>
                    <input id="Checkbox1" type="checkbox" value="舞台背景" />舞台背景 </li>
            </ul>
        </div>
        <input id="Button1" type="button" value="button"  onclick="gg()"/>
        <div class="gv_frame" style="width: 156px; height: 50px; margin-right: 7px; margin-bottom: 7px;">
            <div class="gv_frame" style="width: 156px; height: 50px; margin-right: 7px; margin-bottom: 7px;">
                <div class="gv_thumbnail current" style="width: 156.471px; height: 50.2667px; opacity: 1;">
                    <img class="classimage" style="visibility: visible; width: 69.1358px; height: 50px;
                        left: 0px;" src="ftp://LZW:lzw@127.0.0.1/Image/dd1d70c1-ac61-4f35-8b56-8a7b5b56189a.jpg"></div>
            </div>
        </div>
        <div class="gv_frame" style="width: 156px; height: 50px; margin-right: 7px; margin-bottom: 7px;">
            <div class="gv_frame" style="width: 156px; height: 50px; margin-right: 7px; margin-bottom: 7px;">
                <div class="gv_thumbnail current" style="width: 156.471px; height: 50.2667px; opacity: 1;">
                    <img class="classimage" style="visibility: visible; width: 69.1358px; height: 50px;
                        left: 0px;" src="ftp://LZW:lzw@127.0.0.1/Image/dd1d70c1-ac61-4f35-8b56-8a7b5b56189a.jpg"></div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
